/*
 * @Author: YNT 2501512800@qq.com
 * @Date: 2022-06-19 15:06:46
 * @LastEditors: YNT 2501512800@qq.com
 * @LastEditTime: 2022-09-13 16:09:32
 * @FilePath: \智慧社区的副本\src\router\modules\05integral.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import Layout from "@/layout";
export default {
  path: "/integral",
  component: Layout,
  name: "Integral",
  roleid:6,
  meta: { title: "积分中心", icon: "dashboard" },
  children: [
    {
      path: "rules",
      name: "IntegralRules",
      component: () => import("@/views/integral/rules.vue"),
      meta: { title: "积分规则设置" },
    },
    // {
    //   path: "text",
    //   name: "IntegralText",
    //   component: () => import("@/views/integral/ruleText.vue"),
    //   meta: { title: "积分文本设置" },
    // },
    {
      path: "exchange",
      name: "IntegralExchange",
      component: () => import("@/views/integral/exchange"),
      meta: { title: "积分变化管理" },
    },
    {
      path: "goodstype",
      name: "IntegralGoodsType",
      component: () => import("@/views/integral/goodType"),
      meta: { title: "商品分类管理" },
    },
    {
      path: "goods",
      name: "IntegralGoods",
      component: () => import("@/views/integral/goods"),
      meta: { title: "积分商品管理" },
    },

    {
      path: "users",
      name: "users",
      component: () => import("@/views/integral/users"),
      meta: { title: "用户积分列表" },
    },
    {
      path: "order",
      name: "IntegralOrder",
      component: () => import("@/views/integral/order"),
      meta: { title: "商品订单管理" },
    },
  ],
};
